import { createRouter, createWebHistory } from 'vue-router'
import Login from '../views/Login.vue'
import Index from '../views/Index.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
   
    {
      path:'/index',
      name:'index',
      component:Index
    },
    {
      path: '/login',
      name: 'login',
      component:Login
    }

  ],
})

export default router
